package com.qu.tabhost.fragment;
import android.os.Bundle;

import com.qu.tabhost.base.BaseViewPagerFragment;

public class ChatFragment extends BaseViewPagerFragment {

    @Override
    public PageInfo[] getPages() {
        return new PageInfo[]{
                new PageInfo("网聊",NewsFragment.class,getBundle()),
                new PageInfo("美图",PictureFragment.class,getBundle()),
                new PageInfo("视频",VideoFragment.class,getBundle()),
                new PageInfo("动漫",BlankFragment.class,getBundle())
        };
    }

    private Bundle getBundle(){
        Bundle bundle = new Bundle();
        bundle.putInt(BaseViewPagerFragment.BASEVIEWPAGERBUNDLE,6);
        return bundle;
    }
}
